package net.ericaro.neojavagen.blocks;

/**
 * <b>SwitchBlock</b> ::= "{" <{@link net .ericaro .neojavagen .blocks .SwitchBlockStatementGroups SwitchBlockStatementGroups}>? <
 * {@link net .ericaro .neojavagen .blocks .SwitchLabels SwitchLabels}>? "}"
 * 
 * @author eric@ericaro.net
 */
public class SwitchBlock extends net.ericaro.neojavagen.JavaPartComposition {
	private net.ericaro.neojavagen.blocks.SwitchBlockStatementGroups switchBlockStatementGroups;

	private net.ericaro.neojavagen.blocks.SwitchLabels switchLabels;

	public SwitchBlock() {
		this.switchBlockStatementGroups = null;
		this.switchLabels = null;
	}

	public SwitchBlock(net.ericaro.neojavagen.blocks.SwitchBlockStatementGroups switchBlockStatementGroups, net.ericaro.neojavagen.blocks.SwitchLabels switchLabels) {
		super();
		this.switchBlockStatementGroups = switchBlockStatementGroups;
		this.switchLabels = switchLabels;
	}

	public net.ericaro.neojavagen.blocks.SwitchBlockStatementGroups getSwitchBlockStatementGroups() {
		return switchBlockStatementGroups;
	}

	public net.ericaro.neojavagen.blocks.SwitchLabels getSwitchLabels() {
		return switchLabels;
	}

	public void setSwitchBlockStatementGroups(net.ericaro.neojavagen.blocks.SwitchBlockStatementGroups switchBlockStatementGroups) {
		this.switchBlockStatementGroups = switchBlockStatementGroups;
	}

	public void setSwitchLabels(net.ericaro.neojavagen.blocks.SwitchLabels switchLabels) {
		this.switchLabels = switchLabels;
	}

	@Override
	public java.lang.String toString() {
		return print("{", switchBlockStatementGroups, switchLabels, "}");
	}
}
